/*
 * 文件名称: UserService.java Copyright 2011-2016 Ximalaya All right reserved.
 */
package com.zxy.log4jdemo.service;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.zxy.log4jdemo.dao.UserDao;

/**
 * @author Bird Zhang
 */
public class UserService {
  private static final Logger LOG = LoggerFactory.getLogger(UserService.class);

  public Boolean isExsist() {
    LOG.info("isExsist begin");
    LOG.debug("isExsist begin");
    UserDao userDao = new UserDao();
    Boolean ret = userDao.isExsist();
    LOG.debug("isExsist end");
    LOG.info("isExsist end");
    return ret;
  }
}
